﻿<%@ Page Title="" Language="C#" Trace="false" MasterPageFile="~/Manager/AjaxMaster.master" AutoEventWireup="true" CodeFile="NewPurchase.aspx.cs" Inherits="Manager_BayQuest_NewPurchase" %>
<%@ Register Src="~/Controls/Upload/UploadInfos.ascx" TagPrefix="UI" TagName="UploadInfos" %>
<%@ Register Src="~/Controls/Upload/Uploads.ascx" TagPrefix="UI" TagName="Uploads" %>
<%@ Register Src="~/Controls/Loan/PurchaseBatches.ascx" TagPrefix="UI" TagName="PurchaseBatches" %>
<%@ Register Src="~/Controls/Loan/TruthInLendings.ascx" TagPrefix="UI" TagName="TruthInLendings" %>
<asp:Content ContentPlaceHolderID="head" runat="server">
<link href="/CSS/jquery.tooltip.screen.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="C" ContentPlaceHolderID="cphForm" Runat="Server">
<table class="Docks" width="100%">
<tr class="Zone">
	<td class="Zone" nowrap>
		<ul id="ulDock_1_1" runat="server">
			<li class="ZoneAnchor" runat="server">Zone 1.1</li>
			<li runat="server" id="liUploadInfo">
				<fieldset style="float:left"><legend>Upload Info</legend>
				<UI:UploadInfos DocksID="Docks" runat="server" />
				</fieldset>
			</li>
		</ul>
	</td>
	<td class="Zone" nowrap>
		<ul id="ulDock_1_2" runat="server">
			<li class="ZoneAnchor" runat="server">Zone 1.2</li>
			<li id="liUploads" runat="server">
				<fieldset style="float:left"><legend>Upload Info -> Details</legend>
				<UI:Uploads runat="server" />
				</fieldset>
			</li>
		</ul>
	</td>
</tr>
</table>
<table class="Docks" width="100%" frame="border" border="1" style="border-color:Gray;border:none;overflow:visible">
<tr class="Zone" VAlign="top">
	<td class="Zone" nowrap VAlign="top">
		<ul id="udDock_2_1" runat="server">
			<li class="ZoneAnchor" runat="server">Zone 2.1</li>
			<li id="liPusrchaseBatches" runat="server">
				<fieldset style="float:left"><legend>Purchase Batches</legend>
				<UI:PurchaseBatches runat="server" />
				</fieldset>
			</li>
		</ul>
	</td>
	<td class="Zone" nowrap>
		<ul id="udDock_2_2" runat="server">
			<li class="ZoneAnchor" runat="server">Zone 2.2</li>
			<li id="liPusrchaseBatch_Loans" runat="server">
				<fieldset style="float:left"><legend>Purchase Batch -> Loans</legend>
				<UI:TruthInLendings runat="server" />
				</fieldset>
			</li>
		</ul>
	</td>
</tr>
</table>
<%--<div class="bubble"><h3></h3><div></div><div></div></div>--%>
<asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
<Services>
<asp:ServiceReference Path="~/Manager/WebServices/Uploads.asmx" />
</Services>
</asp:ScriptManagerProxy>
<script>
	Sys.Application.add_init(function() {
		$create(Dimok.Docks, { id: "Docks" }, null, null, null);
	});
	// ****************************
	Sys.Application.add_load(function() {
		$J('legend').click(function() {
			var p = $J(this).parent().find(">DIV");
			if (!p.get().length) { debugger; }
			p.slideToggle();
		});
	});
</script>
</asp:Content>

